<?php

namespace Ensao\AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Ensao\AppBundle\Entity\sousCategorie
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Ensao\AppBundle\Entity\sousCategorieRepository")
 */
class sousCategorie
{
/**
     * @ORM\ManyToOne(targetEntity="Ensao\AppBundle\Entity\Categorie")
    
     */
    private $categorie;
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string $libelle
     *
     * @ORM\Column(name="libelle", type="string", length=255)
     */
    private $libelle;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set libelle
     *
     * @param string $libelle
     */
    public function setLibelle($libelle)
    {
        $this->libelle = $libelle;
    }

    /**
     * Get libelle
     *
     * @return string 
     */
    public function getLibelle()
    {
        return $this->libelle;
    }

    /**
     * Set categorie
     *
     * @param Ensao\AppBundle\Entity\Categorie $categorie
     */
    public function setCategorie(\Ensao\AppBundle\Entity\Categorie $categorie)
    {
        $this->categorie = $categorie;
    }

    /**
     * Get categorie
     *
     * @return Ensao\AppBundle\Entity\Categorie 
     */
    public function getCategorie()
    {
        return $this->categorie;
    }
}